using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using YABlog.BLL;

public partial class MasterPage : System.Web.UI.MasterPage
{
    MetaDataAction metaAction = new MetaDataAction();
    EntriesAction ent = new EntriesAction();
    CategoriesAction cat = new CategoriesAction();

    protected void Page_Load(object sender, EventArgs e)
    {
        MetaDataBO meta = null;
        cat.GetCategories(Repeater2);
        HyperLink1.Text = "All (" + ent.GetEntriesCount(-1) + ")";


        metaAction.GetMetaData(out meta);
        Label1.Text = meta.SITENAME;
        Label2.Text = meta.SUBTITLE;
    }
}
